<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
	<meta charset="UTF-8">
	<title>投注记录</title>
	<meta name="description" content="">
	<meta name="keywords" content="">
	<meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no">
	<meta name="format-detection" content="telephone=no,email=no,adress=no" />
	<meta name="apple-mobile-web-app-capable" content="yes" />  
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<link rel="stylesheet" href="{THEME_PATH}styles/swiper.min.css">
	<link rel="stylesheet" href="{THEME_PATH}styles/reset.css">
	<link rel="stylesheet" href="{THEME_PATH}styles/common.css">
	<link rel="stylesheet" href="{THEME_PATH}styles/style.css">	
</head>
<body>
	<!-- S header -->
	<header>
		<a href="<?php echo U('index');?>" class="headerL iconfont">&#xe69f;</a>
		<h1>投注记录</h1>
	</header>
	<!-- E header -->
	
	<ul class="bet-record-wrap">
		<?php foreach($records as $key =>$value) : ?>
			<li>
				<div class="time flex flex-pack-justify">
					<span>买入时间</span>
					<span><?php echo $value['add_time'];?></span>
				</div>
				<div class="chain flex flex-pack-justify">
					<span>-<?php echo $value['balance']; ?>升值链</span>
					<span>+<?php echo $value['beans']; ?>升值豆</span>
				</div>
				<p class="bonus">	
				<?php if($value['if_reward'] == 1) : ?>
				未中奖
				<?php else : ?>
					奖金:<?php echo $value['reward_prize']; ?>
				<?php endif ?>
				</p>
			</li>
		<?php endforeach ?>
		
		<!-- <li>
			<div class="time flex flex-pack-justify">
				<span>买入时间</span>
				<span>2018.09.25 10:11:40</span>
			</div>
			<div class="chain flex flex-pack-justify">
				<span>1000升值链</span>
				<span>-99600.4升值链</span>
			</div>
			<p class="bonus">奖金：10GF</p>
		</li> -->
	</ul>
</body>